﻿@using System.Web.Optimization;
@model finalproject3.Models.Customer
@{
    ViewBag.Title = "signup";
    Layout = "~/Views/Shared/_Layoutdish.cshtml";
}  
 <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">  
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script src="~/Scripts/jquery.validate.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.validate.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>

<script>
    $(function () {
        
    });
</script>
 @section tabs{
     <div class="menu-row">
            	<div class="menu-border">
                	<div class="main">
                        <nav>
                            <ul class="menu">
                               <li><a class="active" href="/Home/index">Main</a></li>
                                
                                <li><a href="/Customer/calendar">Dish to Order</a></li>
                                <li class="last"><a href="/Home/contacts">Contacts</a></li>

                                <li><a href="/Account/login">login</a></li>
                                <li><a href="/Account/signup">Sign Up</a></li>
                                <li><a href="/Home/about">About Us</a></li>
                            </ul>
                        </nav>
                    </div>
                </div>
            </div>
 }
<h1><span ><strong><em style="margin-left:250px">Signup</em></strong></span></h1> <br />

<div id="leftblockonePan" align="center" style="text-align:left">
     @using (Html.BeginForm("signupcheck", "Account", FormMethod.Post))
    {
        <table style="margin-left:300px">
          <tr><td><p >@Html.LabelFor(m => m.username)</p></td>
              <td>  @Html.TextBoxFor(m => m.username, new { id="username"})
           @Html.ValidationMessageFor(m => m.username)</td></tr>
          <tr><td>@Html.LabelFor(m => m.email)</td>
              <td> @Html.TextBoxFor(m => m.email, new { id="email"})
                   @Html.ValidationMessageFor(m => m.email)</td></tr>
            
		  <tr><td><p >@Html.LabelFor(m => m.password)</p></td><td> @Html.PasswordFor(m => m.password, new { id="password"})
              @Html.ValidationMessageFor(m => m.password)
		                                                      </td></tr>
 		 <tr><td><p >@Html.LabelFor(m => m.Address)</p> </td><td>@Html.TextBoxFor(m => m.Address, new {id="Address" })
              @Html.ValidationMessageFor(m=>m.Address)
 		                                                     </td></tr>
          <tr><td><p >@Html.LabelFor(m => m.phoneno)</p> </td>
              <td>@Html.TextBoxFor(m => m.phoneno,new{id="phoneno"}) 
                  @Html.ValidationMessageFor(m => m.phoneno)</td></tr>
          <tr><td><p >Date of Birth:</p> </td><td> <input type="date" id="calendar" /></td></tr>
          <tr><td><p >@Html.LabelFor(m => m.City)</p> </td><td>@Html.TextBoxFor(m => m.City,new{id="City"})
              @Html.ValidationMessageFor(m => m.City)
                                                           </td></tr>
            <tr><td><p >@Html.LabelFor(m => m.Country)</p> </td><td>@Html.TextBoxFor(m => m.Country,new{id="Country"})
                @Html.ValidationMessageFor(m => m.Country)
                                                                </td></tr>
          <tr><td><p >Gender</p> </td><td> <select name="gender_select" style=""><option id="male_option">Male</option><option id="female_option">Female</option></select></td></tr>
          <tr><td><input type="submit" value="Proceed"/></td></tr>
                      
            </table>
          }
 
                                